package edu.ctbu.insurance.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author djl
 * @since 2024-06-28
 */
@TableName("t_ins_product")
public class InsProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 保险产品ID，主键，自增
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    /**
     * 保险产品名称
     */
    private String productName;

    /**
     * 保险产品类型
     */
    private String productType;

    /**
     * 保险产品描述
     */
    private String description;

    /**
     * 保险产品保费
     */
    private BigDecimal premium;

    /**
     * 删除操作时的验证
     */
    private String deleteFlag;

    /**
     * 保险产品序列号
     */
    private Integer productNum;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Integer getProductNum() { return productNum; }

    public void setProductNum(Integer productNum) { this.productNum = productNum; }

    public BigDecimal getPremium() {
        return premium;
    }

    public void setPremium(BigDecimal premium) {
        this.premium = premium;
    }

    @Override
    public String toString() {
        return "InsProduct{" +
            "productId = " + productId +
            ", productName = " + productName +
            ", productType = " + productType +
            ", description = " + description +
            ", premium = " + premium +
        "}";
    }
}
